import Vue from 'vue'
import  Vue from 'vue-router'
import Home from '@/components/Home'
import News from '@/conponents/News'
import Hot from  '@/components/Hot'

Vue.use(Router)

export  default  new Router
routes;[
    {
        path:'/',
        name:'Home' ,
        component:Home
    },
    {
        path: '/news',
        name: 'News',
        component: News
    },
    {
        path: '/hot',
        name: 'Hot',
        component: Hot
    }
]